package com.cqut.dto;

import java.io.Serializable;

import com.cqut.model.JudgesAppointment;
import com.cqut.util.BeanUtil;

public class JudgesAppointmentDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	 
	private String raterAppointId;

	private String judgesIds;

	private String judgesNames;

	private String processResultDetailId;

	public String getRaterAppointId() {
	    return raterAppointId;
	}

	public void setRaterAppointId(String raterAppointId) {
	    this.raterAppointId = raterAppointId == null ? null : raterAppointId.trim();
	}

	public String getJudgesIds() {
	    return judgesIds;
	}

	public void setJudgesIds(String judgesIds) {
	    this.judgesIds = judgesIds == null ? null : judgesIds.trim();
	}

	public String getJudgesNames() {
	     return judgesNames;
	}

	public void setJudgesNames(String judgesNames) {
	    this.judgesNames = judgesNames == null ? null : judgesNames.trim();
	}

	public String getProcessResultDetailId() {
	    return processResultDetailId;
	}

	public void setProcessResultDetailId(String processResultDetailId) {
	    this.processResultDetailId = processResultDetailId == null ? null : processResultDetailId.trim();
	}
	
	public JudgesAppointment toModel() {
		JudgesAppointment model = new JudgesAppointment();
		BeanUtil.convert(this, model);
		return model;
    }
}
